package com.example.dagger;

import javax.inject.Singleton;

import dagger.Component;
@Singleton
@Component(modules = {DatabaseModule.class,HttpModule.class})
public interface MyComponent {

    //  注入点就写在这里
    void injectMainActivity(MainActivity mainActivity);
    void injectSecActivity(SecActivity secActivity);

}
